import { defineConfig } from "vite";
export default config = {
  build: {
    chunkSizeWarningLimit: 15000,
    rollupOptions: {
      output: {
        manualChunks(id) {
          //静态资源分拆打包
          if (id.includes('node_modules')) {
            return 'vendor';
          }
        },
      },
    },
  },
};
